It is assumed that the procedures to initially configure the system as described in the Getting Started chapter have been completed.Important: The commands used in the configuration examples in this section are the most likely-used commands and/or keyword options. In many cases, other optional commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information.
Refer to Getting Started for instructions on configuring a system management interface on the Switch Processor Input/Output (SPIO) card. This section provides described how to configure a second management interface.
• For port ethernet slot#, use the actual chassis slot in which the SPIO is installed (slot number 24 or 25).
• For port ethernet port#, use the physical port on the SPIO card that will be used. This is either port 1 or 2. Port 1 represents the top-most port (either RJ-45 or SFP).
• Option: In the Ethernet Port configuration mode, configure the port speed, if needed, by entering the medium command. Refer to the Command Line Interface Reference for a complete explanation of this command.
• In the { ip | ipv6 } route command, other keyword options, instead of the gateway IP address, are available and include: next-hop IP address, point-to-point, and tunnel.The output from this command should be similar to that shown below. In this example an interface named mgmt2 was configured in the local context.show configuration port <slot#/port#>slot# is the chassis slot number of the line card where the physical port resides. slot# is either 24 or 25. port# is the number of the port (either 1 or 2). This command produces an output similar to the one shown below; it displays the configuration of port 2 of the SPIO installed in chassis slot 24. In this example, the port is bound to an interface called mgmt2.Save your configuration as described in the Saving Your Configuration chapter.
• Refer to the online Help for the clock timezone command for a complete list of supported time zones.
• The optional local keyword indicates that the time zone specified is the local timezone.Save your configuration as described in the Verifying and Saving Your Configuration chapter.Important: Configure the system clock and time zone prior to implementing NTP support. This greatly reduces the time period that must be corrected by the NTP server.
• context_name is the name of a configured context other than local. Use this option to configure the system to run NTP in a specified context. By default, NTP runs in the local context. This is the recommended configuration.
• A number of options exist for the server command. Refer to the NTP Configuration Mode Commands chapter in the Command Line Interface Reference for more information.Important: Configure the system with at least two NTP servers. It is recommend that four servers are configured.
Save the configuration as described in the Verifying and Saving Your Configuration chapter.
The following table describes the parameters output by the show ntp associations command.
•Important: To use BITS-timing, the SPIO card must include the optional BITS BNC or 3-pin timing interface. For additional interface information, refer to the Product Overview.
Save the configuration according to the steps in the Verifying and Saving Your Configuration chapter.Save the configuration as described in the Verifying and Saving Your Configuration chapter.Save the configuration as described in the Verifying and Saving Your Configuration chapter.Use the show timing command, documented in the Exec Mode Commands chapter of the Command Line Interface Reference, to confirm that the timing source has been configured correctly.Save the configuration as described in the Verifying and Saving Your Configuration chapter.The Getting Started chapter describes how to configure a context-level security administrator for the system.
• Security Administrators: have read-write privileges and can execute all CLI commands, including those available to Administrators, Operators, and Inspectors
• Administrators: have read-write privileges and can execute any command in the CLI except for a few security-related commands that can only be configured by Security Administrators. Administrators can configure or modify system settings and execute all system commands, including those available to the Operators and Inspectors.
• Operators: have read-only privileges to a larger subset of the Exec Mode commands. They can execute all commands that are part of the inspector mode, plus some system monitoring, statistic, and fault management functions. Operators do not have the ability to enter the Config Mode.
• Inspectors: are limited to a few read-only Exec Mode commands. The bulk of these are show commands for viewing a variety of statistics and conditions. An Inspector cannot execute show configuration commands and does not have the privilege to enter the Config Mode.Important: For information on the differences between these user privileges and types, refer to the Getting Started chapter.
If your deployment does not require the configuration of additional administrative users, proceed to the Configuring Packet Processing and Line Card Availability section.
• Additional keyword options are available that identify active administrators or place time thresholds on the administrator. Refer to the Command Line Interface Reference for more information about the administrator command.Save the configuration as described in the Verifying and Saving Your Configuration chapter.
• Additional keyword options are available that identify active administrators or place time thresholds on the administrator. Refer to the Command Line Interface Reference for more information about the config-administrator command.Save the configuration as described in the Verifying and Saving Your Configuration chapter.
• Additional keyword options are available that identify active administrators or place time thresholds on the administrator. Refer to the Command Line Interface Reference for more information about the operator command.Save the configuration as described in the Verifying and Saving Your Configuration chapter.
• Additional keyword options are available that identify active administrators or place time thresholds on the administrator. Refer to the Command Line Interface Reference for more information about the inspector command.Save the configuration as described in the Verifying and Saving Your Configuration chapter.This command displays all of the configuration parameters you modified within the Local context during this session. The following displays sample output for this command. In this example, a security administrator named testadmin was configured.
• Additional keyword options are available identify active administrators or place time thresholds on the administrator. Refer to the Command Line Interface Reference for more information about the local-user username command.Save the configuration as described in the Verifying and Saving Your Configuration chapter.This command displays information on configured local-user administrative users. A sample output for this command appears below. In this example, a local-user named SAUser was configured.Important: TACACS+ privilege levels are stored as Attribute Value Pairs (AVPs) in the network’s TACACS+ server database. Users are restricted to the set of commands associated with their privilege level. A mapping of TACACS+ privilege levels to ASR 5000 CLI administrative roles and responsibilities is provided in the table below.
•
•Important: For instructions on defining users and administrative privileges on the system, refer to the Configuring System Administrative Users chapter in this guide.
Caution: When configuring TACACS+ AAA services for the first time, the administrative user must use non-TACACS+ services to log into the ASR 5000. Failure to do so will result in the TACACS+ user being denied access to the system.
• server priority priority_number: Must be a number from 1 to 3, that specifies the order in which this TACACS+ server will be tried for TACACS+ authentication. 1 is the highest priority, and 3 is the lowest.
• ip-address: Must be the IPv4 address of a valid TACACS+ server that will be used for authenticating administrative users accessing this system via TACACS+ AAA services.Save the configuration as described in the Verifying and Saving Your Configuration chapter.Important: For complete information on all TACACS+ Configuration Mode commands and options, refer to the TACACS Configuration Mode Commands chapter in the Command Line Reference.
Important: Once TACACS+ AAA services are configured and enabled on the ASR 5000, the system first will try to authenticate the administrative user via TACACS+ AAA services. By default, if TACACS+ authentication fails, the system then continues with authentication using non-TACACS+ AAA services.
A example of this command’s output is provided below. In this example, a system administrative user named asradmin has successfully logged in to the system via TACACS+ AAA services.Important: For details on all TACACS+ maintenance commands, refer to the show tacacs chapter in the Statistics and Counters Reference.
The Exec mode chassis key value key_string command identifies the chassis which can encrypt and decrypt encrypted passwords in the configuration file. If two or more chassis are configured with the same chassis key value, the encrypted passwords can be decrypted by any of the chassis sharing the same chassis key value. As a corollary to this, a given chassis key value will not be able to decrypt passwords that were encrypted with a different chassis key value.The key_string is an alphanumeric string of 1 through 16 characters. The chassis key is stored as a one-way encrypted value, much like a password. For this reason, the chassis key value is never displayed in plain-text form.The Exec mode chassis keycheck key_string command generates a one-way encrypted key value based on the entered key_string. The generated encrypted key value is compared against the encrypted key value of the previously entered chassis key value. If the encrypted values match, the command succeeds and keycheck passes. If the comparison fails, a message is displayed indicating that the key check has failed. If the default chassis key (no chassis key) is currently being used, this key check will always fail since there will be no chassis key value to compare against.Use the chassis keycheck command to verify whether multiple chassis share the same chassis key value.Important: Only a user with Security Administrator or Administrator privilege can execute the chassis key value and chassis keycheck commands.
For additional information, refer to the Exec Mode Commands (A-C) chapter in the Command Line Interface Reference.
• MAC_Address is the first address of a block of 256 MAC addresses. The system has reserved 65536 MAC addresses (00:05:47:FF:00:00 to 00:05:47:FF:FF:FF) for use by customers. This range allows you to create 256 address blocks each containing 256 MAC addresses (for example, 00:05:47:FF:00:00, 00:05:47:FF:01:00, 00:05:47:FF:02:00, 00:05:47:FF:03:00, 00:05:47:FF:04:00, etc.).Caution: This configuration requires a valid block of unique MAC addresses that are not used anywhere else. The use of non-unique MAC addresses can degrade and impair the operation of your network.
Save your configuration as described in the Verifying and Saving Your Configuration chapter.show port info slot#/port#slot# is the chassis slot number of the line card on which the physical port resides. port# is the physical port on the line card.As discussed in the Understanding the System Boot Process section of the Understanding System Operation and Configuration chapter, when the system boots up, all installed packet processing cards are placed into standby mode. You must activate some of these cards in order to configure and use them for session processing. Others may remain in standby mode to serve as redundant components.Important: Refer to the Product Overview Guide for information about system hardware configurations and redundancy.
• card-standby-priority specifies the order in which the system will use standby packet processing cards as redundant components.
• slot#_p1 is the chassis slot number of the standby packet rpocessing card that you want to use first as a redundant component. slot#_p2 is the chassis slot number of the standby processing card that you want to use second as a redundant component. slot#_pn is the chassis slot number of the standby packet processing card that you want to use as the last redundant component.Save the configuration as described in the Verifying and Saving Your Configuration chapter.Caution: To ensure that system line card and port-level redundancy mechanisms function properly, disable the Spanning Tree protocol on devices connected directly to any system port. Failure to turn off the Spanning Tree protocol may result in failures in the redundancy mechanisms or service outage.
By default, the system provides port-level redundancy when a failure occurs, or you issue the port switch to command. In this mode, the ports on active and standby line cards (for example, 17/1 and 33/1) have the same MAC address, but since only one of these ports may be active at any one time there are no conflicts. This eliminates the need to transfer MAC addresses and send gratuitous ARPs in port failover situations. Instead, for Ethernet ports, three Ethernet broadcast packets containing the source MAC address are sent so that the external network equipment (switch, bridge, or other device) can re-learn the information after the topology change. However, if an line card removal is detected, the system sends out gratuitous ARPs to the network because of the MAC address change that occurred on the specific port.With port redundancy, if a failover occurs, only the specific port(s) become active. For example; if port 17/1 fails, then port 33/1 becomes active, while all other active ports on the line card in slot 17 remain in the same active state. In port failover situations, use the show port table or show linecard table commands to check that ports are active on both cards and that both cards are active.Take care when administratively disabling a port that is one of a redundant pair. A redundant pair comprises both the active and standby ports—for example 17/1 and 33/1. If 17/1 is active, administratively disabling 17/1 through the CLI does not make 33/1 active. It disables both 17/1 and 33/1 because an action on one port has the same effect on both. Refer to Enabling Line Card and SPIO Redundancy below and Creating and Configuring Ethernet Interfaces and Ports in the System Element Configuration Procedures chapter.Important: Be aware that in the case of a system with only one SMC and two SPIO cards, both SPIOs come up online. Automatic switching of Ethernet ports does not occur in this scenario, but you can initiate card and port switching by using the card spio switch to and port switch to commands.
• The card-mode keyword indicates that no port redundancy is used. The system provides card-level redundancy, which is triggered by an internal failure. The port-mode keyword, available for Ethernet and SPIO line cards, indicates that port redundancy will be enabled. This is the default redundancy mode.Important: You do not need to use this configuration for each line card or SPIO. The system intuitively understands that if the command is entered for an active line card, the standby line will operate in the same mode. For example, if you enter the command for the line card in slot 17, it automatically places the line card in Slot 33 into port redundant operation.
Important: If you network-boot a dual-SMC chassis with SPIO port redundancy enabled, you should have CFE1.1.0 or greater in flash on both SMCs. Otherwise, you risk having a standby SMC that can't boot from the network in certain circumstances. You can use any version of the CFE with SPIO port redundancy if the SMCs boot from a local file system (/flash, /pcmcia1, or /pcmcia2).
Save the configuration as described in the Verifying and Saving Your Configuration chapter.show configuration card slot_#slot_# is the chassis slot number where the line card or SPIO you want to configure is installed.[local]host_name# show config card 17[local]host_name# show config card 24Important: This feature is applied on a per port basis, allowing you to configure specific ports to be used on individual line cards or SPIOs. For example, you could configure ports 1 through 4 as preferred on the line card in slot 17, and configure ports 5 through 8 as the preferred ports on the line card in slot 33. On a SPIO, you could configure port 1 as preferred on the SPIO in slot 24 and configure port 2 as preferred on the SPIO in slot 25. In this scenario, both line cards or SPIOs would be in an active state while providing line card and port redundancy for the other.
Caution: A preference cannot be configured in normal redundancy mode. Attempting to do so will produce an error message from the cli command.
Save the configuration as described in the Verifying and Saving Your Configuration chapter.show port info slot#/port#slot# is the chassis slot number of the line card on which the physical port resides.port# is the physical port on the line card.[local]host_name# show port info 17/1Important: LAG cannot be configured when XGLCs have been configured for side-by-side redundancy. A failure message appears on the CLI when such an attempt is made.
•
•
•
•
• Card y is preferred
• Card y is selected.The specified distribution option controls how the LAG hash map is generated. This option is set on the master port for use by the whole LAG via the link-aggregation distribution command. The following table identifies the distribution options (assuming port index 0,1,2,3 were selected):
There is more on configuring ports and port redundancy in Configuring Line Card and SPIO Port Redundancy.The following command creates link aggregation group N with port slot#/port# as master. Only one master port is allowed for a group. N must be in the range of [1...1023].Important: Link Aggregation Control Protocol (LACP) starts running only when the Master port is enabled.
Use the following command to add a port as member of link aggregation group number N only if the master port is assigned. Otherwise, it is added to the group when the master port is assigned:Important: The VPN can only bind the master port, and a VLAN can only be created on the master port. VPN CLI and vpnmgr return a failure message if you attempt to bind to a link aggregation member port.
LACP can send packets at either a slow (30s) or fast (1s) rate. The defaults for this release are Active and Slow; see the sample configuration below:link aggregation [redundancy { link aggregation toggle link | switched }] [hold-time sec] [ preferred slot {card_number | none }
• simple: Repetition of all selected port indexes (Example: 0123012301230123…)
• rotate: Repetition of rotated port index (Example: 0123123023013012…)
• block: Blocks of the same port index (Example: 0000111122223333)
• random: Based on pseudo random numberThe Exec mode link-aggregation port switch to slot/port command is used to configure this option. The following criteria apply to the setting of this option:
• slot/port must support LAG.
• slot/port must be configured with LAG.
• slot/port must not be already actively distributing
• slot/port must have negotiated a link aggregation partner in standard mode.
• slot/port's partner must have an equal or higher in standard mode.
• slot/port's partner bundle must have equal or higher bandwidth in standard mode.
• Switching to slot/port must not violate preference within hold-time in standard mode.
• show port info slot/port
|
| Cisco Systems Inc. |
| Tel: 408-526-4000 |
| Fax: 408-527-0883 |